package com.ophiux.product.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel("商品修改  --  请求参数")
@Data
public class ProductUpdateVo {
	@ApiModelProperty("商品id")
	private Integer id;
	
	@ApiModelProperty("商品类型  1时间商品、2样式商品、3实体商品")
	private Integer productType;

	@ApiModelProperty("商品名称 ")
	private String productName;

	@ApiModelProperty("商品版本号 ")
	private Integer productVersion;

	@ApiModelProperty("商品发布时间")
	private LocalDateTime productIssueTime;

	@ApiModelProperty("单品单价")
	private BigDecimal price;

	@ApiModelProperty("单品时间单位  月、周、年")
	private String unit;

	@ApiModelProperty("本商品含单品总数")
	private Integer count;

	@ApiModelProperty("商品库存")
	private Integer stockCount;

	@ApiModelProperty("折扣值  8-指打八折")
	private Integer discount;

	@ApiModelProperty("是否启用折扣  1启用  0禁用")
	private Integer discountStatus;

	@ApiModelProperty("是否启用该商品  0禁用  1启用")
	private Integer status;

	@ApiModelProperty("前端排序号  ")
	private Integer sort;

	@ApiModelProperty("是否置顶  0不置顶  1置顶")
	private Integer sticky;

	@ApiModelProperty("适用人群")
	private String suitPeople;
	
	@ApiModelProperty("商品描述")
	private String describe;
}
